#ifndef __DYNAMICARRAY__H_
#define __DYNAMICARRAY__H_

#define ElementType void*
typedef struct DynamicArray DMArray;
struct DynamicArray
{
    ElementType *dp;
    int size;
    int len;
};
int ArrayInit(DMArray *array);
void FreeArray(DMArray *array);
int InsertArray(DMArray *array, ElementType element);
int ReallocArray(DMArray *array);
#endif